package com.lili.promotion.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lili.model.promotion.Coupon;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

@Mapper
public interface CouponMangerMapper extends BaseMapper<Coupon> {
    List query(Map map);
    int save(Coupon coupon);
    int update(Long id);
}
